home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / game / shoot / athrust.lha / AmigaThrust / src / graphics.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-09-05  |  1.2 KB  |  36 lines

  1.  
  2. /* Written by Peter Ekberg, peda@lysator.liu.se */
  3.  
  4. #ifndef GRAPHICS_H
  5. #define GRAPHICS_H
  6.  
  7. #include "fast_gr.h"
  8.  
  9. #define maxlenx ((word)BBILDX*12) /*max 48 skärmar a 41*23 tecken a */
  10. #define maxleny ((word)BBILDY*4) /* 8*8 pixels a 8 bitar, dvs. 3274752 bytes.*/
  11.  
  12. #ifdef __STDC__
  13. void writeblock(word bx, word by, byte block);
  14. void drawteleline(int round, int x1, int y1, int x2, int y2, int j, int k);
  15. void drawteleport(int tohere);
  16. void swap(int *pa, int *pb);
  17. void drawlinev  (int x1, int y1, int x2, int y2, byte color, byte *storage);
  18. void undrawlinev(int x1, int y1, int x2, int y2,             byte *storage);
  19. void drawlineh  (int x1, int y1, int x2, int y2, byte color, byte *storage);
  20. void undrawlineh(int x1, int y1, int x2, int y2,             byte *storage);
  21. void drawline   (int x1, int y1, int x2, int y2, byte color, byte *storage);
  22. void undrawline (int x1, int y1, int x2, int y2,             byte *storage);
  23. void drawbullets(void);
  24. void undrawbullets(void);
  25. void drawfragments(void);
  26. void undrawfragments(void);
  27. void drawpowerplantblip(void);
  28. void drawload(int flag);
  29. word drawshuttle(void);
  30. void undrawshuttle(void);
  31. void drawfuellines(void);
  32. void undrawfuellines(void);
  33. #endif
  34.  
  35. #endif /* GRAPHICS_H */
  36.